﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.SheepManagement
{
    /// <summary>
    /// 羊只淘汰管理表
    /// </summary>
    public class SheepCulling : BaseEntity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Key]
        public int SheepCullingId { get; set; }
        /// <summary>
        /// 淘汰日期
        /// </summary>
        public DateTime? EliminationDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? SheepNumber { get; set; }
        /// <summary>
        /// 淘汰原因（1.空胎 2.其他 3.老龄 4.履配不孕 5.习惯性流产 6.子宫脱 7.子宫炎 8.肥胖 9.消瘦 10.精液质量差 11.拒配 12.无乳）
        /// </summary>
        public string? EliminationReasons { get; set; }
        /// <summary>
        /// 是否离场
        /// </summary>
        public bool? IsDel { get; set; }
        /// <summary>
        /// 处理措施
        /// </summary>
        public string? TreatmentMeasures { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? Variety { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool? SheepSex { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int? ReproductiveState { get; set; }
        /// <summary>
        /// 淘汰月龄
        /// </summary>
        public int? EliminationMonth { get; set; }
        /// <summary>
        /// 淘汰日龄
        /// </summary>
        public string? EliminationDay { get; set; }
        /// <summary>
        /// 淘汰栋舍
        /// </summary>
        public string? EliminationHouse { get; set; }
        /// <summary>
        /// 淘汰栏位
        /// </summary>
        public string? EliminationField { get; set; }
        /// <summary>
        /// 档案序号（外键）
        /// </summary>
        public int? SheepId { get; set; }
    }
}
